package com.cwd.arm.application.service.write;

import com.cwd.arm.application.dto.MsgRecipientDto;
import com.cwd.arm.application.service.write.facade.MsgRecipientWriteService;
import com.cwd.arm.domain.entity.MsgRecipientEntity;
import com.cwd.arm.domain.repository.MsgRecipientRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

/**
* Description:消息接受者
* Created on 2022年01月15日
* @author  yan
*/
@Repository
@Primary
public class MsgRecipientWriteServiceImpl implements MsgRecipientWriteService{

    @Autowired
    private MsgRecipientRepository msgRecipientRepository;


    private MsgRecipientEntity convertToEntity(MsgRecipientDto dto){
        MsgRecipientEntity entity = MsgRecipientEntity.builder()
                .build();
        return entity;
    }
}
